package com.caldremch.sophixdemo;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;

import com.caldremch.sophixdemo.bean.ATest;
import com.caldremch.sophixdemo.bean.Student;

public class ClzInfoActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_clz_info);

        TextView tv1 = findViewById(R.id.tv1);
        TextView tv2 = findViewById(R.id.tv2);
        TextView tv3 = findViewById(R.id.tv3);

        tv1.setText(new ATest().a());
        tv2.setText(ATest.b());
        tv3.setText(ATest.c_static);

        TextView tv4 = findViewById(R.id.tv4);
        TextView tv5 = findViewById(R.id.tv5);
        TextView tv6 = findViewById(R.id.tv6);
        TextView tv7 = findViewById(R.id.tv7);

        tv4.setText(new Student().a);
        tv5.setText(new Student().method_());
        tv6.setText(Student.a_static);
        tv7.setText(Student.method_static());
    }
}
